<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>防伪查询</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="/css/all.css"/>
    <style>
        input{
            width: 94%;
            margin: 10px 3%;
            padding:10px 5px;
            font-size: 14px;
        }
        button{
            margin: 8px 3%;
            width: 94%;
        }
        .button {
            width: 94%;
            margin-top: 15px;
            color: #fff;
            background-color: #5bc0de;
            border-color: #46b8da;
            padding: 8px 0;
            font-family: "微软雅黑";
            border-radius: 5px;
            font-size: 15px;
        }
    </style>
</head>
<body>
<div class="title">防伪查询
    <div class="title_left"><a href="{{urlHome('index','getIndex')}}">返回</a></div>
</div>

<form action="" method="post">
    <input type="text" name="code" value="{{ old('code') }}" placeholder="请输入防伪码"/>
    <input type="submit" class="button" value="查询">
</form>
<script type="text/javascript" src="/static/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="/static/js/layer/layer.js"></script>
<script>
    message = "{{Session::get('message')}}";
    $(window).ready(function () {
        if (message) {
            layer.msg(message, {
                time: 3000 //2秒关闭（如果不配置，默认是3秒）
            });
        }
    });

</script>
</body>
</html>